package com.chalk.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.chalk.model.SysParam;
import com.chalk.vo.SysParamVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统参数表(SysParam)表数据库访问层
 *
 * @author maxiaoqiang
 * @since 2019-03-22 17:38:25
 */
@Mapper
public interface SysParamDao extends BaseMapper<SysParam> {

    /*自定义接口*/

    /**
     * 根据主键批量(逻辑)删除
     *
     * @param ids
     * @return
     */
    int deleteBatchByPrimaryKey(String[] ids);

    /**
     * 分页查询返回VO
     * @param page
     * @param param
     * @return
     */
    List<SysParamVo> getSellerListVo(Pagination page, SysParamVo param);
}